<template>
  <div>
    <el-row :gutter="15">
      <el-col :span="12" v-if="templateCode=='YHQ-001'">
        <CouponComponent001 :seckilData="seckilData" :goodsList="goodsList"  :activityUnit="activityUnit"></CouponComponent001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='YHQ-001'">
        <CouponRight001 :seckilData="seckilData" :goodsList="goodsList" ref="cover"></CouponRight001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='CX-001'">
        <CarComponent001 :seckilData="seckilData" :goodsList="goodsList"  :activityUnit="activityUnit"></CarComponent001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='CX-001'">
        <CarRight001 :seckilData="seckilData" :goodsList="goodsList" ref="cover"></CarRight001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='ZQ-CX-001'">
        <ZQCX001 :seckilData="seckilData" :goodsList="goodsList" :activityUnit="activityUnit"></ZQCX001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='ZQ-CX-001'">
        <ZQCXRight001 :seckilData="seckilData" :goodsList="goodsList" ref="cover"></ZQCXRight001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='ZQ-SQ-001'">
        <ZQSQ001 :seckilData="seckilData" :goodsList="goodsList" :activityUnit="activityUnit"></ZQSQ001>
      </el-col>
      <el-col :span="12" v-if="templateCode=='ZQ-SQ-001'">
        <ZQSQRight001 :seckilData="seckilData" :goodsList="goodsList" ref="cover"></ZQSQRight001>
      </el-col>
    </el-row>


  </div>
</template>

<script>
import CouponComponent001 from '../../ActivityTemplate/coupon_mjjs/mjjs-component.vue'
import CouponRight001 from '../../ActivityTemplate/coupon_mjjs/mjjs-right.vue'
import CarComponent001 from '../../ActivityTemplate/model_frist/model-component.vue'
import CarRight001 from '../../ActivityTemplate/model_frist/mjjs-right.vue'
import ZQCX001 from '../../ActivityTemplate/holiday_model/zhongQiu/ZQCX001/mjjs-component.vue'
import ZQCXRight001 from '../../ActivityTemplate/holiday_model/zhongQiu/ZQCX001/mjjs-right.vue'
import ZQSQ001 from '../../ActivityTemplate/holiday_coupon/zhongQiu/ZQSQ001/mjjs-component.vue'
import ZQSQRight001 from '../../ActivityTemplate/holiday_coupon/zhongQiu/ZQSQ001/mjjs-right.vue'
export default {
  components: {
    CouponComponent001,
    CouponRight001,
    ZQCX001,
    ZQCXRight001,
    ZQSQ001,
    ZQSQRight001,
    CarComponent001,
    CarRight001
  },
  props: {
    templateCode:{
      type:String,
      default(){
        return 'MJ'
      }
    },
    seckilData: {
      type: Object,
      default() {
        return {}
      },
    },
    goodsList: {
      type: Array,
      default() {
        return []
      },
    },
    activityUnit: {
      type: Array,
      default() {
        return []
      },
    },
  },
  data() {
    return {

    }
  }

}

</script>

